# test_entity_recognizer.py
import sys
import os
import logging

# 添加项目路径
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

# 设置日志
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

from agents.entity_recognizer import EntityRecognizer
from models.state import WorkflowState
from utils.database import get_db_connection

